﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Vision.Core.Entities.Activities;

namespace Vision.Core.Entities.Filing
{
    /// <summary>
    /// 
    /// </summary>    
    [Serializable()]
    [DataContract()]
    public class Folder
    {
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int Id { get; set; }
                
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public List<Folder> Folders { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public List<VisionActivity> Activities { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public List<Document> Documents { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public Folder()
        {
            this.Folders = new List<Folder>();
            this.Activities = new List<VisionActivity>();
            this.Documents = new List<Document>();
        }
    }
}
